/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2025-2025. All rights reserved.
 * Modifications:
 * 1. Add global variable kBacktraceSkipIndex.
 * 2. Modify the value of global variable kDefaultAllocThreshold to 1024.
 * 
 * Copyright (c) 2021. Kwai, Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Created by lbtrace on 2021.
 *
 */

#ifndef KOOM_NATIVE_OOM_SRC_MAIN_JNI_INCLUDE_CONSTANTS_H
#define KOOM_NATIVE_OOM_SRC_MAIN_JNI_INCLUDE_CONSTANTS_H

#include "stdint.h"
#define ALWAYS_INLINE __attribute__((always_inline))

const uint32_t kMaxBacktraceSize = 12;
const uint32_t kDefaultAllocThreshold = 1024;
const uint32_t kBacktraceSkipIndex = 4;
#endif // KOOM_NATIVE_OOM_SRC_MAIN_JNI_INCLUDE_CONSTANTS_H